N = 1
strMsg = 'fjkeeek'
for i in range(0,len(strMsg),1):
    N = N*ord(strMsg[i])
N2 = N*N

hashValue = str(N2)
hashValue = hashValue[1:9]
    
print(hashValue)

